﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using tcm.entity;

namespace tcm.response
{
    public class WeChatUserTokenRes
    {
        public string access_token { get; set; }

        public int expires_in { get; set; }

        public string refresh_token { get; set; }

        public string openid { get; set; }

        public string scope { get; set; }
    }

    public class WeChatUserRes
    {
        public string openid { get; set; }

        public string accessToken { get; set; }

        public string nickname { get; set; }

        public int sex { get; set; }

        public string province { get; set; }

        public string city { get; set; }

        public string country { get; set; }

        public string headimgurl { get; set; }

        public string unionid { get; set; }
    }


    public class WeChatTokenRes
    {
        public string access_token { get; set; }

        public int expires_in { get; set; } 
    }

    public class WeChatSendRes
    {
        public string errcode { get; set; }

        public string errmsg { get; set; }

        public string msgid { get; set; }
    }
}
